package generics.cl.container;

import java.awt.*;

/**
 * Created by IntelliJ IDEA.
 * User: Admin
 * Date: 10.05.11
 * Time: 16:32
 * To change this template use File | Settings | File Templates.
 */
public abstract class AbstractContainer {


	public abstract int getColor();

	public void paint() {
		int color = getColor();
		Color cl = new Color(color);
		paintWithColor(cl);
	}

	private void paintWithColor(Color c) {
		///TO DO
	}
}
